package cn.zhouchao.org.domain;

import cn.zhouchao.basic.domain.BaseDomain;
import cn.zhouchao.user.domain.Logininfo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Employee extends BaseDomain {
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    private Integer age;
    private Integer state;
    private Long departmentId;
    private Long logininfoId;
    private Long shopId;
//
    private Department dept;
    private Logininfo loginf;
    private Shop shop;

    private List<Long> roles;

}
